package com.lagou.module.service;

import com.lagou.module.entity.PageBean;
import com.lagou.module.entity.Student;

import java.util.List;

public interface StudentService {
    //show all
    List<Student> studentShowService(PageBean pageBean);

    //add a student
    int studentAddService(Student student);

    //delete a student
    int studentDeleteService(String[] ids);

    //modify a student
    int studentModifyService(Student student);

    //find a student
    Student studentFindService(int id);

    // find a student by class service
    Student studentFindByClassIdService(int classId);



}
